<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
form 方式get<br>
<form id=form1 action="form1.jsp"method="GET">
站点名:<input type="text" name="name" />
</br>
网址:<input type="text" name="url" />
</br>
<input type="submit" value="提交" />
<input type="button" value="提交1" onclick="form1.submit();" />
</form><br><br>
用url方式发出get请求<br>
<a href="form1.jsp?name=你好&url=中华门"> url 方式get</a>
</body>
</html>